//enum.cpp
#include <iostream>
using namespace std;

int main()
{
    int N,Nn;
    cin>>N;
    if (N>=1984 && N<1996 ) Nn=0;
    if (N>=1996 && N<2008 ) Nn=1;
    if (N>=2008 && N<2020 ) Nn=2;
    if (N>=2020 && N<2032 ) Nn=3;
    if (N>=1932 && N<2044 ) Nn=4;
//create named constants for 1-5 zzzzz
enum{green,red,yellow,white,black};
//while (N>=green && N<=black)
//{
switch(Nn)
{
case 1:
{
    switch(N)
    case 1984:
    cout<<"god zelenoi krusu";
    break;
    case 1985:
    cout<<"god zelenoi korovu";
    break;
    case 1986:
    cout<<"god zelenoi tigr";
    break;
    case 1987:
    cout<<"god zelenoi zaiats";
    break;
    case 1988:
    cout<<"god zelenoi dracon";
    break;
    case 1989:
    cout<<"god zelenoi zmeia";
    break;
    case 1990:
    cout<<"god zelenoi loshad'";
    break;
    case 1991:
    cout<<"god zelenoi ovtsu";
    break;
    case 1992:
    cout<<"god zelenoi obezianu";
    break;
    case 1993:
    cout<<"god zelenoi kuritsu";
    break;
    case 1994:
    cout<<"god zelenoi sobaki";
    break;
    case 1995:
    cout<<"god zelenoi svini";
    break;
}
break;
case 0:
{
    switch(N)
    {
        case 1996:
        cout<<"god krasnoi krusu";
        break;
        case 1997:
        cout<<"god krasnoi korovu";
        break;
        case 1998:
        cout<<"god krasnoi tigr";
        break;
        case 1999:
        cout<<"god krasnoi zaiats";
        break;
        case 2000:
        cout<<"god krasnoi dracon";
        break;
        case 2001:
        cout<<"god krasnoi zmeia";
        break;
        case 2002:
        cout<<"god krasnoi loshad'";
        break;
        case 2003:
        cout<<"god krasnoi ovtsu";
        break;
        case 2004:
        cout<<"god krasnoi obezianu";
        break;
        case 2005:
        cout<<"god krasnoi kuritsu";
        break;
        case 2006:
        cout<<"god krasnoi sobaki";
        break;
        case 2007:
        cout<<"god krasnoi svini";
        break;
     }
}
break;
case yellow:
{
    switch(N)
    {
        case 2008:
        cout<<"god zholtoi krusu";
        break;
        case 2009:
        cout<<"god zholtoi korovu";
        break;
        case 2010:
        cout<<"god zholtoi tigr";
        break;
        case 2011:
        cout<<"god zholtoi zaiats";
        break;
        case 2012:
        cout<<"god zholtoi dracon";
        break;
        case 2013:
        cout<<"god zholtoi zmeia";
        break;
        case 2014:
        cout<<"god zholtoi loshad'";
        break;
        case 2015:
        cout<<"god zholtoi ovtsu";
        break;
        case 2016:
        cout<<"god zholtoi obezianu";
        break;
        case 2017:
        cout<<"god zholtoi kuritsu";
        break;
        case 2018:
        cout<<"god zholtoi sobaki";
        break;
        case 2019:
        cout<<"god zholtoi svini";
        break;
     }
}
break;
case white:
{
    switch(N)
    {
        case 2020:
        cout<<"god beloi krusu";
        break;
        case 2021:
        cout<<"god beloi korovu";
        break;
        case 2022:
        cout<<"god beloi tigr";
        break;
        case 2023:
        cout<<"god beloi zaiats";
        break;
        case 2024:
        cout<<"god beloi dracon";
        break;
        case 2025:
        cout<<"god beloi zmeia";
        break;
        case 2026:
        cout<<"god beloi loshad'";
        break;
        case 2027:
        cout<<"god beloi ovtsu";
        break;
        case 2028:
        cout<<"god beloi obezianu";
        break;
        case 2029:
        cout<<"god beloi kuritsu";
        break;
        case 2030:
        cout<<"god beloi sobaki";
        break;
        case 2031:
        cout<<"god beloi svini";
        break;
     }
}
break;
case black:
{

    switch(N)
    {
        case 2032:
        cout<<"god chernoi krusu";
        break;
        case 2033:
        cout<<"god chernoi korovu";
        break;
        case 2034:
        cout<<"god chernoi tigr";
        break;
        case 2035:
        cout<<"god chernoi zaiats";
        break;
        case 2036:
        cout<<"god chernoi dracon";
        break;
        case 2037:
        cout<<"god chernoi zmeia";
        break;
        case 2038:
        cout<<"god chernoi loshad'";
        break;
        case 2039:
        cout<<"god chernoi ovtsu";
        break;
        case 2040:
        cout<<"god chernoi obezianu";
        break;
        case 2041:
        cout<<"god chernoi kuritsu";
        break;
        case 2042:
        cout<<"god chernoi sobaki";
        break;
        case 2043:
        cout<<"god chernoi svini";
        break;
     }
}
break;
}
//}
    return 0;
}

